const RowObj = require('../modules/Row');

let RowController = {
    post_addOrderTable: async function(req, res){
        let data = req.body;
        let resultDate = await RowObj.addOrderTable(data);
        res.send(resultDate);
    },
    post_addRow: async function(req, res){
        let data = req.body;
        let resultDate = await RowObj.addRow(data);
        res.send(resultDate);
    },
    post_getRow: async function(req, res){
        let data = req.body;
        let resultDate = await RowObj.getRow(data);
        res.send(resultDate);
    }
}
module.exports = RowController;